<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>

</body>
<script type="module">
	// 执行器函数接收两个参数，两个参数的类型为函数
	import Promise from "./index.js";
	// state result
	const p = new Promise(function(resolve,reject){
		// 执行器函数
		resolve();
	});
	console.log(p);
</script>
</html>